// 基于template/src/widgets/{{appEntities}}/{{ctrls@CALENDAR}}-calendar/{{spinalCase ctrl.codeName}}-calendar-vo.ts.hbs生成
import { ControlVOBase } from '@/core';

class Item1ControlVO extends ControlVOBase {

    /**
    * 实体主键属性
    *
    */
    protected readonly srfkey = 'ibizorderid';

    /**
    * 项标识
    *
    */
    protected readonly itemType = 'item1';  

    constructor(data: any){
        super(data);
        //  日历项自持属性
        this.$ownKeys = ['ibizorder', 'tp', 'endtime', 'wfstate', 'createdate', 'opinion', 'updatedate', 'ordertype', 'detailnum', 'wfinstanceid', 'amount', 'orderuid', 'ibizorderid', 'orderstate', 'starttime', 'updateman', 'wfstep', 'createman', 'ibizordername', 'ordertime', 'memo', 'ibizcustomername', 'ibizcustomerid'];
    }
    get title() {
        return this.$DO.ibizordername;
    }
    set title(value: any) {
        this.$DO.ibizordername = value;
    }
    get start() {
        return this.$DO.starttime;
    }
    set start(value: any) {
        this.$DO.starttime = value;
    }
    get end() {
        return this.$DO.endtime;
    }
    set end(value: any) {
        this.$DO.endtime = value;
    }

    set ibizorder(value: any) {
        this.$DO.ibizorderid = value;
    }
    get ibizorder() {
        return this.$DO.ibizorderid;
    }
}

export const Calendarexpbar_calendarControlVO = [{ name: 'Item1ControlVO', controlVO: Item1ControlVO }]